package com.ruoyi.filemanager.support.archiver;

import com.alibaba.fastjson.JSONObject;

public enum ArchiverOption
{
    INSTANCE;

    public static JSONObject JSON_INSTANCE()
    {
        JSONObject instance = new JSONObject();
        instance.put("create", getCreate());
        instance.put("extract", getExtract());
        return instance;
    }

    public static String[] getCreate()
    {
        return ArchiverType.SUPPORTED_MIME_TYPES;
    }

    public static String[] getExtract()
    {
        return ArchiverType.SUPPORTED_MIME_TYPES;
    }

}